package com.jml.工厂模式.抽象工厂;

public class AoDiFactory implements CarFactory  {

    public Engine createEngine() {

        return new EngineB();
    }

    public Chair createChair() {

        return new ChairB();
    }

}

